<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
  <div class="h">
  <a href="{:U('config')}" class="btn btn-info"><i class="glyphicon glyphicon-equalizer"></i> 返现配置</a>
  
  
      </div>
     <div class="table_"><table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
     
     
    
 <thead>
 <tr>
    <td align="center">ID</td>
    <td align="center">网站ID</td>
    <td align="center">会员ID</td>
    <td align="center">返现总额</td>
    <td align="center">返现余额</td>
    <td align="center">操作</td>
  </tr>
</thead>
<volist name="list" id="vo">
  <tr class="data_list">
    <td align="center"><input type="checkbox" name="id" id="id" class="sall" value="{$vo.id}" />{$vo.id}</td>
    <td><a href="__APP__/<if condition="__SITEID__==NULL">{$vo.id}</if>" target="_blank">{$vo.site_id}</a></td>
    <td>{$vo.member_id}</td>
    <td><a href="{:U('detail',array('id'=>$vo['member_id']))}" target="_blank">{$vo.total}</a></td>
    <td>{$vo.rest}</td>
    
    <!-- <td align="center"><eq name="vo['status']" value="1"><span class="status1 status_btn" field="status,{$vo.id}"></span>
                <else/>
                <span class="status0 status_btn" field="status,{$vo.id}"></span></eq></td>
     -->
    <td align="center">
      <a href="{:U('logList',array('id'=>$vo['member_id']))}">返现日志</a> | <a href="{:U('edit',array('id'=>$vo['id']))}">编辑</a> | <a href="{:U('delete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要删除这条记录吗？');">删除</a></td>
  </tr>
</volist>
  <tr>
    <td colspan="6"><a href="javascript:void(0);" onclick="sall();">全选/反选</a> <a href="javascript:void(0);" onclick="rall();">全不选</a> <a href="javascript:void(0);" onclick="delall();">删除选中</a> <!-- <a href="javascript:void(0);" onclick="update_sort();">更新排序</a> --></td>
    </tr>
    <tr>
    <td colspan="6"><div class="pages">{$pages}</div></td>
    </tr>
</table></div>

  </div>
  <div class="clear"></div>
</div>


<include file="Public:footer" />